//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-04A
TN_Widget.CreateTable([['Orchestra Iowa: The Extraterrestrial','Paramount Theatre - Cedar Rapids','Cedar Rapids, IA','Friday','5/3/2024','7:30 PM','5894984','Orchestra-Iowa--The-Extraterrestrial-5-3-2024'],['Orchestra Iowa: The Extraterrestrial','Paramount Theatre - Cedar Rapids','Cedar Rapids, IA','Saturday','5/4/2024','7:30 PM','5894985','Orchestra-Iowa--The-Extraterrestrial-5-4-2024'],['Carmina Burana','Paramount Theatre - Cedar Rapids','Cedar Rapids, IA','Saturday','5/18/2024','7:30 PM','5894978','Carmina-Burana-5-18-2024'],['Saxon & Uriah Heep','Paramount Theatre - Cedar Rapids','Cedar Rapids, IA','Thursday','5/23/2024','7:00 PM','6313369','Saxon---Uriah-Heep-5-23-2024'],['Ashley McBryde','Paramount Theatre - Cedar Rapids','Cedar Rapids, IA','Thursday','6/13/2024','8:00 PM','6084006','Ashley-McBryde-6-13-2024'],['Beatles vs. Stones - A Musical Showdown','Paramount Theatre - Cedar Rapids','Cedar Rapids, IA','Sunday','6/23/2024','7:00 PM','6313347','Beatles-vs--Stones---A-Musical-Showdown-6-23-2024'],['Mark Normand','Paramount Theatre - Cedar Rapids','Cedar Rapids, IA','Saturday','7/20/2024','7:00 PM','6384064','Mark-Normand-7-20-2024'],['Kenny Wayne Shepherd','Paramount Theatre - Cedar Rapids','Cedar Rapids, IA','Friday','7/26/2024','7:30 PM','6336766','Kenny-Wayne-Shepherd-7-26-2024'],['Scott Bradlee's Postmodern Jukebox','Paramount Theatre - Cedar Rapids','Cedar Rapids, IA','Saturday','7/27/2024','8:00 PM','6319219','Scott-Bradlee-s-Postmodern-Jukebox-7-27-2024'],['The Mavericks','Paramount Theatre - Cedar Rapids','Cedar Rapids, IA','Friday','8/16/2024','7:30 PM','6301060','The-Mavericks-8-16-2024'],['Leonid & Friends - A Tribute To Chicago','Paramount Theatre - Cedar Rapids','Cedar Rapids, IA','Sunday','10/6/2024','7:30 PM','6380075','Leonid---Friends---A-Tribute-To-Chicago-10-6-2024'],['Brad Williams','Paramount Theatre - Cedar Rapids','Cedar Rapids, IA','Friday','10/11/2024','7:00 PM','6319504','Brad-Williams-10-11-2024'],['Nurse Blake','Paramount Theatre - Cedar Rapids','Cedar Rapids, IA','Thursday','11/7/2024','8:00 PM','6329721','Nurse-Blake-11-7-2024'],['Black Jacket Symphony: Elton John's Madman Across the Water','Paramount Theatre - Cedar Rapids','Cedar Rapids, IA','Wednesday','11/13/2024','8:00 PM','6338950','Black-Jacket-Symphony--Elton-John-s-Madman-Across-the-Water-11-13-2024']],'Paramount Theatre Cedar Rapids','http://www.ticketnetwork.com/ticket/Paramount-Theatre-Cedar-Rapids-events.aspx');